package practise;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:墨琦
 * Data:2023-04-11
 * Time:9:24
 */
public class Text {
    public static void main(String[] args) {
       List<Integer> fw=new ArrayList<>();
        fw.add(2);
        fw.add(44);
        fw.add(66);
        fw.add(33);fw.remove(2);
        Iterator<Integer> ret=fw.iterator();
        while(ret.hasNext())
        {
            System.out.print(ret.next()+" ");

        }
    }
}
